package day_2022_4_to_7.day48;

/**
 * @author haomin
 * @date 2022/07/08 20:36
 **/

import java.util.Scanner;

class  People{
    private int id;
    private int height;
    private int weight;

    public People(int id, int height, int weight) {
        this.id = id;
        this.height = height;
        this.weight = weight;
    }
}

public class Day47_2_SortByWeightAndHeight{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        while(in.hasNext()){
            int n = in.nextInt();
            in.nextInt();
            for(int i = 0;i < n;i++){
                String[] str = in.nextLine().split(" ");
                People people = new People(Integer.valueOf(str[0]),Integer.valueOf(str[1]),Integer.valueOf(str[2]));

            }
        }
    }
}